package indi.zhifa.recipe.bailan.framework.auth.impl.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.recipe.bailan.framework.auth.impl.entity.enums.Gender;
import indi.zhifa.recipe.bailan.framework.auth.entity.po.BaseUserEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("sys_user")
@Schema(title = "用户对象", description = "用户表")
public class UserEntity extends BaseUserEntity {

    @Schema(title = "昵称")
    private String nickName;

    @Schema(title = "自我描述")
    private String description;

    @Schema(title = "邮箱地址")
    private String email;

    @Schema(title = "电话号码")
    private String phone;

    @Schema(title = "性别")
    private Gender gender;

    @Schema(title = "生日")
    private LocalDate birthday;

}
